import service from '@/utils/request'

// 修改个人密码
export const updatePasswordApi = (data: any) => {
	return service.post('/admin/update_passwd', data)
}
// 修改个人名称
export const updateUsernameApi = (data: any) => {
	return service.post('/admin/update', data)
}
